<!DOCTYPE html>
<html>
<head>
    <title>基于游客流量动态调控的观光路径智能优化系统</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body {
            font-family: 'Microsoft YaHei', sans-serif;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #f5f6fa;
        }

        .container {
            width: 100%;
            max-width: 800px;
            text-align: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .title-container {
            margin-bottom: 60px;
            padding: 0 20px;
            text-align: center;
            width: 100%;
        }

        .main-title {
            color: #2c3e50;
            font-size: 120px;
            font-weight: bold;
            margin-bottom: 30px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
            background: linear-gradient(45deg, #3498db, #2c3e50);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: grid;
            grid-template-columns: repeat(2, 120px);
            justify-content: center;
            gap: 20px 40px;
            line-height: 1.2;
        }

        .main-title span {
            text-align: center;
        }

        h1 {
            color: #2c3e50;
            font-size: 46px;
            margin: 0 auto;
            font-weight: bold;
            line-height: 1.5;
            white-space: normal;
            max-width: 800px;
            text-align: center;
        }

        .button-container {
            display: flex;
            flex-direction: column;
            gap: 40px;
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .button {
            background-color: #3498db;
            color: white;
            border: none;
            padding: 25px 30px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 42px;
            font-weight: bold;
            transition: all 0.3s ease;
            text-decoration: none;
            width: 100%;
            box-sizing: border-box;
            text-align: center;
        }

        .button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(0,0,0,0.15);
        }

        .blue-button {
            background-color: #3498db;
        }

        .blue-button:hover {
            background-color: #2980b9;
        }

        .red-button {
            background-color: #e74c3c;
        }

        .red-button:hover {
            background-color: #c0392b;
        }

        /* 移动设备适配 */
        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }

            .title-container {
                margin-bottom: 60px;
                padding: 0 15px;
            }

            h1 {
                font-size: 32px;
            }

            .button {
                font-size: 32px;
                padding: 20px 25px;
            }

            .main-title {
                font-size: 72px;
                grid-template-columns: repeat(2, 72px);
                gap: 20px 30px;
            }

            .button-container {
                gap: 30px;
            }
        }

        /* 超小屏幕适配 */
        @media (max-width: 320px) {
            .title-container {
                margin-bottom: 40px;
            }

            h1 {
                font-size: 20px;
            }

            .button {
                font-size: 24px;
                padding: 15px 20px;
            }

            .main-title {
                font-size: 48px;
                grid-template-columns: repeat(2, 48px);
                gap: 20px 20px;
            }

            .button-container {
                gap: 25px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="title-container">
            <div class="main-title">
                <span>智</span><span>流</span>
                <span>导</span><span>优</span>
            </div>
            <h1>基于游客流量动态调控的观光路径智能优化系统</h1>
        </div>
        
        <div class="button-container">
            <a href="/all_route" class="button blue-button">游览全部路线</a>
            <a href="/partial_route" class="button blue-button">部分路线规划</a>
            <a href="javascript:void(0)" onclick="exitProgram()" class="button red-button">退出程序</a>
        </div>
    </div>

    <script>
        function exitProgram() {
            if (confirm('确定要退出程序吗？')) {
                window.close();
            }
        }
    </script>
</body>
</html>